<?php
@session_start();
require_once('../config/config.php');
require_once('../utils/CommonUtils.php');
require_once('../utils/DBUtils.php');
include ("../utils/Constants.php");
require_once('../utils/BaseDAO.php');
require("../utils/Session.php");

$commonUtils = new CommonUtils();
$baseDAO = new BaseDAO();

$commentId = $commonUtils->getParameter("id");
if($commentId != null && $commentId != ""){
	$baseDAO->del("imagecomment", $commentId);
}
$returnRes = array();
$returnRes['success'] = true;
echo json_encode($returnRes);
?>